package com.zretc.entity;
/**
 * 歌手关注表
 * @author yejignbin
 *
 */
public class Attention {
	private Integer accountId;   //用户ID（联合主键）
	private Integer singerId;    //歌手ID（联合主键）
	private Singer singer ;      //歌手对象
	
	public Attention(Integer accountId, Integer singerId) {
		super();
		this.accountId = accountId;
		this.singerId = singerId;
	}
	
	public Attention(Integer accountId, Singer singer) {
		super();
		this.accountId = accountId;
		this.singer = singer;
	}

	public Attention() {
		super();
	}

	public Integer getAccountId() {
		return accountId;
	}

	public void setAccountId(Integer accountId) {
		this.accountId = accountId;
	}

	public Integer getSingerId() {
		return singerId;
	}

	public void setSingerId(Integer singerId) {
		this.singerId = singerId;
	}

	@Override
	public String toString() {
		return "Attention [accountId=" + accountId + ", singerId=" + singerId + "]";
	}

	public Singer getSinger() {
		return singer;
	}

	public void setSinger(Singer singer) {
		this.singer = singer;
	}
	
}
